package com.project.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.sql.Timestamp;


/**
 * 旅游路线：(TouristRoutes)表实体类
 */
@TableName("`tourist_routes`")
@Data
@EqualsAndHashCode(callSuper = false)
public class TouristRoutes implements Serializable {

    // TouristRoutes编号
    @TableId(value = "tourist_routes_id", type = IdType.AUTO)
    private Integer tourist_routes_id;

    // 路线名称
    @TableField(value = "`route_name`")
    private String route_name;
    // 路线编号
    @TableField(value = "`route_number`")
    private String route_number;
    // 封面图片
    @TableField(value = "`cover_photo`")
    private String cover_photo;
    // 路线起点
    @TableField(value = "`starting_point_of_the_route`")
    private String starting_point_of_the_route;
    // 路线终点
    @TableField(value = "`route_endpoint`")
    private String route_endpoint;
    // 开团时间
    @TableField(value = "`team_opening_time`")
    private String team_opening_time;
    // 组团人数
    @TableField(value = "`number_of_group_members`")
    private Integer number_of_group_members;
    // 单人费用
    @TableField(value = "`individual_expenses`")
    private Integer individual_expenses;
    // 旅游分类
    @TableField(value = "`tourism_classification`")
    private String tourism_classification;
    // 导游信息
    @TableField(value = "`tour_guide_information`")
    private String tour_guide_information;
    // 导游
    @TableField(value = "`guide_name`")
    private String guide_name;
    // 司机
    @TableField(value = "`driver_name`")
    private String driver_name;
    // 路线详情
    @TableField(value = "`route_details`")
    private String route_details;
    // 预订须知
    @TableField(value = "`booking_notice`")
    private String booking_notice;


    // 点赞数
    @TableField(value = "praise_len")
    private Integer praise_len;


    // 更新时间
    @TableField(value = "update_time")
    private Timestamp update_time;

    // 创建时间
    @TableField(value = "create_time")
    private Timestamp create_time;


}
